/**
 *  思维导图路由
 */
import LayoutKnowtree from '../views/layout/knowtree/Layout'
import ParentMenuLayout from '../views/layout/ParentMenuLayout' // 作为二级以上菜单的中转布局
const _import = require('./_import_' + process.env.NODE_ENV)

export default [
  {
    path: '/knowtree',
    component: LayoutKnowtree,
    redirect: 'noredirect',
    name: 'knowtree',
    meta: {
      title: '在线绘图工具',
      icon: 'resource_config'
    },
    children: [
      { path: 'draw-list', component: _import('draw/drawInfo/DrawInfoList'), name: 'knowtree-draw-list',
      meta: { title: '画布', icon: 'resource_config' , priCode: ''}},
      { path: 'draw-edit', component: _import('draw/drawEdit/DrawEditor'), name: 'draw-edit',
      meta: { title: '思维导图编辑', icon: 'resource_config' , priCode: ''}, hidden: true},
      // { path: 'draw-view', component: _import('draw/drawView/drawView'), name: 'draw-view',
      // meta: { title: '思维导图查看', icon: 'resource_config' , priCode: ''}, hidden: true},
      { path: 'column-list', component: _import('column/ColumnList'), name: '栏目管理',
      meta: { title: '栏目管理', icon: 'resource_config' , priCode: ''}},
    ]
  },

  ]


